package com.sinosoft.perfect.system._user.formBean;

import java.util.Date;

import com.sinosoft.perfect.system._.po.TUser;
import com.sinosoft.perfect.system._.util.DateUtil;

public class UserForm extends TUser {
	
	/**
	 * T_USER_UNIT_RELATIOIN.MANAGE_ID
	 */
	protected String manageId;
	
	/**
	 * T_UNIT.UNIT_ID
	 */
	protected String unitId;
	
	/**
	 * T_ROLE_BUSINESS.ROLE_BUSINESS_ID
	 */
	protected String roleBusinessId;
	
	/**
	 * T_USER.ACTIVE_DATE
	 */
	private String activeDateForm;
	
	/**
	 * T_USER.INACTIVE_DATE
	 */
	private String inactiveDateForm;
	
	private String loginCodePassed;
	
	/**
	 * 
	 */
	
	public void setActiveDateForm(String activeDateForm) {
		Date activeDate = DateUtil.parseStringYYYY_MM_DDToDate(activeDateForm);
		this.setActiveDate(activeDate);
		this.activeDateForm = activeDateForm;
	}
	
	public void setInactiveDateForm(String inactiveDateForm) {
		Date inactiveDate = DateUtil.parseStringYYYY_MM_DDToDate(inactiveDateForm);
		this.setInactiveDate(inactiveDate);
		this.inactiveDateForm = inactiveDateForm;
	}
	
	public String getActiveDateForm() {
		return activeDateForm;
	}
	
	public String getInactiveDateForm() {
		return inactiveDateForm;
	}
	
	public String getUnitId() {
		return unitId;
	}
	
	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}
	
	public String getManageId() {
		return manageId;
	}
	
	public void setManageId(String manageId) {
		this.manageId = manageId;
	}
	
	public String getRoleBusinessId() {
		return roleBusinessId;
	}
	
	public void setRoleBusinessId(String roleBusinessId) {
		this.roleBusinessId = roleBusinessId;
	}
	
	public String getLoginCodePassed() {
		return loginCodePassed;
	}
	
	public void setLoginCodePassed(String loginCodePassed) {
		this.loginCodePassed = loginCodePassed;
	}
	
}
